//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_pshootatarti.sqf"
#include "x_setup.sqf"

private ["_shooter", "_vec", "_lstt"];

_shooter = _this select 3;

if (!isPlayer _shooter) exitWith {};

PARAMS_1(_vec);

_lstt = _vec getVariable [QGVAR(ncuttoft), 0];

if (time >= _lstt) then {
	diag_log format [localize "STR_DOM_MISSIONSTRING_1461", name _shooter, getPlayerUID _shooter];
	[QGVAR(saat), _shooter] call FUNC(NetCallEventToClients);
	_vec setVariable [QGVAR(ncuttoft), time + 1];
};